package win.devhu.testing.SpringBoot2Kotlin.controller

import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestMethod

@Controller
@RequestMapping(value = "/")
class IndexController {

    @RequestMapping(method = arrayOf(RequestMethod.GET))
    fun index():String {
        return "index"
    }

}